package com.neuedu.yyzx.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.neuedu.yyzx.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author 第7组....
 * @since 2021-05-21
 */
public interface IUserService extends IService<User> {

    String token(User user) throws JsonProcessingException;

    Object logout(HttpServletRequest request);

    List<User> list(User user);

    boolean add(User user);

    Object batchdel(Integer[] ids);
}
